﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenSda.Agilcont.Common.Service.Contracts;
using System.ServiceModel.Activation;
using OpenSda.Agilcont.Common.Business.Contracts;
using OpenSda.Agilcont.Common.Data.Entities;

namespace OpenSda.Agilcont.Common.Service.WcfContexts
{
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class EmpresaService : IEmpresaService
    {
        IEmpresaBusiness empresaBusiness;
        public IEmpresaBusiness EmpresaBusiness { set { empresaBusiness = value; } }


        public Empresa Save(Empresa empresa)
        {
            return empresaBusiness.Save(empresa);
        }
    }
}
